Screenshot of the error I get in the console
My code is working. But I don't understand this error. I couldn't find the solution. I ask for your kind help.
This is because you mutate state outside mutations and it's there:
this.systemstatus.splice(i, 1)
You could copy systemstatus by using spread operator, for example:
const systemStatusCopy = [...this.systemstatus]
and you won't get any errors, however state won't change either, but if you need it to change in a store, then add mutation and commit a mutation whenever you need.